package com.zhupanlin.zhyl.hosp.client;

import com.zhupanlin.zhyl.vo.hosp.ScheduleOrderVo;
import com.zhupanlin.zhyl.vo.order.SignInfoVo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Repository;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

/**
 * @author zhupanlin
 * @version 1.0
 * @description: TODO
 * @date 2024/12/7 21:18
 */
@FeignClient(value = "service-hosp")
@Repository
public interface HospitalFeignClient {

    // 根据排班 id 获取预约下单数据
    @GetMapping("inner/getScheduleOrderVo/{scheduleId}")
    ScheduleOrderVo getScheduleOrderVo(@PathVariable("scheduleId") String scheduleId);

    // 获取医院签名信息
    @GetMapping("inner/getSignInfoVo/{hoscode}")
    SignInfoVo getSignInfoVo(@PathVariable("hoscode") String hoscode);


}
